package com.eclink.iot.rfidclient.manager;

/**
 *
 * @author xyang
 */

public class Commands {
    
    public static final byte head = (byte)0xa0;
    
    public static final byte cmd_reset = (byte)0x70;
    public static final byte cmd_set_uart_baudrate = (byte)0x71;
    public static final byte cmd_get_firmware_version = (byte)0x72;
    public static final byte cmd_set_reader_address = (byte)0x73;
    public static final byte cmd_set_work_antenna = (byte)0x74;
    public static final byte cmd_get_work_antenna = (byte)0x75;
    public static final byte cmd_set_output_power = (byte)0x76;
    public static final byte cmd_set_4_ant_power = (byte)0x5f;
    public static final byte cmd_set_8_ant_power = (byte)0x5e;
    public static final byte cmd_get_output_power = (byte)0x77;
    public static final byte cmd_set_frequency_region = (byte)0x78;
    public static final byte cmd_get_frequency_region = (byte)0x79;
    public static final byte cmd_set_beep_mode = (byte)0x7a;
    public static final byte cmd_get_reader_temperature = (byte)0x7B;
    public static final byte cmd_set_temporary_output_power = (byte)0x66;
    public static final byte cmd_set_rf_link_profile = (byte)0x69;
    public static final byte cmd_get_rf_link_profile = (byte)0x6A;
    public static final byte cmd_check_ant = (byte)0xE0;
    public static final byte cmd_inventory = (byte)0x80;
    public static final byte cmd_read = (byte)0x81;
    public static final byte cmd_write = (byte)0x82;
    public static final byte cmd_lock = (byte)0x83;
    public static final byte cmd_kill = (byte)0x84;
    public static final byte cmd_set_access_epc_match = (byte)0x85;
    public static final byte cmd_get_access_epc_match = (byte)0x86;
    public static final byte cmd_fast_switch_ant_inventory = (byte)0x87;
    public static final byte cmd_real_time_inventory = (byte)0x89;
    public static final byte cmd_custom_inventory = (byte)0x8a;
    public static final byte cmd_customized_session_target_invent = (byte)0x8B;
    public static final byte cmd_stop_inventory = (byte)0x8C;
    public static final byte cmd_get_inventory_buffer = (byte)0x90;
    public static final byte cmd_get_and_reset_inventory_buffer = (byte)0x91;
    public static final byte cmd_get_inventory_buffer_tag_count = (byte)0x92;
    public static final byte cmd_reset_inventory_buffer = (byte)0x93;
    public static final byte cmd_sm7_write = (byte)0x95;
    public static final byte cmd_sm7_read = (byte)0x96;
    public static final byte cmd_sm7_pk_update = (byte)0x97;

    public static final byte cmd_gb_seu_write = (byte)0x42;
    public static final byte cmd_gb_seu_read = (byte)0x43;
    public static final byte cmd_gb_read = (byte)0x45;
    public static final byte cmd_gb_write = (byte)0x46;
    public static final byte cmd_gb_lock = (byte)0x47;
    public static final byte cmd_gb_kill = (byte)0x49;
    public static final byte cmd_gb_mul_seu_auth = (byte)0x98;

    public static final byte cmd_reader_para_save = (byte)0x4a;
    public static final byte cmd_reader_para_reset = (byte)0x4b;
    public static final byte cmd_reader_app_upgrade = (byte)0x4c;
    public static final byte cmd_baseband_firmware_upgrade = (byte)0x4d;
    
    //
    public static final byte cmd_get_gpio_status = (byte)0x60;
    public static final byte cmd_set_gpio_status = (byte)0x61;
    public static final byte cmd_get_mulTag_mode_status = (byte)0x50;
    public static final byte cmd_set_mulTag_mode_status = (byte)0x51;
    public static final byte cmd_castom_inv_match_magnus = (byte)0x52;
    public static final byte cmd_castom_inv_match_tid = (byte)0x53;
    public static final byte cmd_castom_inv_match_epc = (byte)0x54;
    public static final byte cmd_castom_inv_uasrdata = (byte)0x55;
    public static final byte cmd_castom_inv_userdefine = (byte)0x59;
    public static final byte cmd_bidirectional_authentication = (byte)0x98;
    public static final byte cmd_set_tx_time = (byte)0x5d;
    public static final byte cmd_get_tx_time = (byte)0x5c;
    public static final byte cmd_set_session_target = (byte)0x5b;
    public static final byte cmd_get_session_target = (byte)0x5a;
    public static final byte cmd_set_cw = (byte)0x3e;
    public static final byte cmd_get_cw = (byte)0x3f;
    public static final byte cmd_set_keepalive = (byte)0x4e;
    public static final byte cmd_get_keepalive = (byte)0x4f;
    public static final byte cmd_set_select = (byte)0x8d;
    public static final byte cmd_get_select = (byte)0x8e;
    
}
